package org.ax.pojo.plan;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@TableName("c_order")
@Data //订单
public class Order implements Serializable {

	private static final long serialVersionUID =  7948717200286034380L;
	@TableId
	private String orderId;
	@TableField(exist = false)
	private Custom custom;
	@TableField(exist = false)
	private Product product;
	private String customId;

	private String productId;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime orderDate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime requestDate;

	private String note;

	private Integer quantity;

	private double unitPrice;

	private String unit;

	private String image;

	private String file;

	private Integer status;


}
